<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>RTX3080</title>
    <style>
        *{
            margin: 0;
            padding: 0;
        }
        body{
            background-image: url(./img/bg.jpg);
            width: 100%;
        }
        nav{
			position: fixed;
			top: 0;
			height: 100px;
			width: 100%;
			z-index: 100;
			background-image: linear-gradient(rgba(0,0,0,1),rgba(0,0,0,0.4));
        }
        .div1{
			margin: 0 auto;
			width: 800px;
			height: 120px;
		}
        .a1{
			text-align: center;
			text-decoration: none;
			float: left;
			width: 80px;
			margin: 0 60px;
			margin-top: 30px;
			color: white;
			font-family: "黑体";
			font-size: 30px;
			transition: color 0.3s;
		}
        .main{
            margin-top: 100px;
            width: 100%;
            height: 3800px;
            display: flex;
            flex-flow: row wrap;
            justify-content: center;
            align-items: center;
        }
        .main div{
            width: 400px;
            height: 600px;
            background-color: black;
            margin: 0 10px;
            text-align: center;
            font-size: 36px;
            font-family: "仿宋";
            font-weight: bold;
            color: white;
            opacity: 0.92;
            transition: opacity 0.3s;
        }
        .main div img{
            width: 400px;
            opacity: 0.92;
            transition: opacity 0.3s;
        }
        a:hover{
            color: rgb(246, 156, 49);
        }
        .main div:hover{
            opacity: 1;
        }
        /* .main div:hover img{
            opacity: 1;
        } */
        @media only screen and (max-width: 850px) {
            nav{
                height: 100%;
                width: 120px;
                background-image: linear-gradient(to right, rgba(0,0,0,1),rgba(0,0,0,0.4));
            }
            .div1{
                width: 120px;
                height: 800px;
                margin: auto 0;
            }
            .a1{
                width: 120px;
                margin: 20px 0;
            }
            .atop{
                margin-top: 100px;
            }
        }
        @media only screen and (max-width: 680px){
            nav{
                display: none;
            }
        }
    </style>
</head>
<body>
    <nav>
        <div class="navdiv div1">
			<a class="atop a1" href="">CPU</a>
			<a class="a1" href="">独显</a>
			<a class="a1" href="">硬盘</a>
			<a class="a1" href="">内存</a>
		</div>
    </nav>
    <div class="main">
        <div><img src="./img/ad1.png">GTX3080</div>
        <div><img src="./img/ad4.png"></div>
        <div><img src="./img/ad5.png"></div>
        <div><img src="./img/ad6.png"></div>
        <div><img src="./img/ad7.png"></div>
        <div><img src="./img/ad8.png"></div>
        <div><img src="./img/ad9.png"></div>
        <div><img src="./img/ad10.png"></div>
        <div><img src="./img/ad11.png"></div>
        <div><img src="./img/ad12.png"></div>
        <div><img src="./img/ad13.png"></div>
        <div><img src="./img/ad14.png"></div>
        <div><img src="./img/ad15.png"></div>
        <div><img src="./img/buy.png"></div>
    </div>
</body>
</html>